import time, hashlib, uuid

def jd_business_intelligence(url):
    split_url = url.split('.com')[-1]
    u_id = uuid.uuid4().__str__().split('-')
    uu_id = ''.join(u_id[:-1]) + '-' + u_id[-1]

    time_stamp = int(time.time()*1000)

    str_md = f"{split_url}{uu_id}{time_stamp}372ad2c2b6"
    md_encipher = hashlib.md5()
    md_encipher.update(str_md.encode('utf-8'))

    return {"User-mup": time_stamp, "User-mnp": md_encipher.hexdigest(), "uuid": uu_id}

url = 'https://szgateway.jd.com/szpaas/szajax/flow/summary/exportCoreOffline.ajax'
jd_business_intelligence(url)